﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace BtLabelViewModel
{
    public class MenuViewModel : Notify
    {
        SolidColorBrush _TestMenuColor = Brushes.DodgerBlue;
        public SolidColorBrush TestMenuColor
        {
            get { return _TestMenuColor; }
            set { _TestMenuColor = value; RaisePropertyChanged("TestMenuColor"); }
        }
        SolidColorBrush _QureyMenuColor = Brushes.DodgerBlue;
        public SolidColorBrush QureyMenuColor
        {
            get { return _QureyMenuColor; }
            set { _QureyMenuColor = value; RaisePropertyChanged("QureyMenuColor"); }
        }
    }
    public class Notify : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        protected virtual void RaisePropertyChanged(string propertyname)
        {
            this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyname));
        }
    }
}
